package class_1_8.abstract_test.capacity;

public class Dog extends Animal implements IRun{
    public Dog(String name){
        super(name);
    }

    @Override
    public void eat(String food) {
        System.out.println(this.name+"正在吃"+food);
    }

    @Override
    public void IRun() {
        System.out.println("狗狗"+this.name+"正在撒欢滴跑");
    }
}
